package auctionsimulation.communication.command;

import java.util.HashMap;

import auctionsimulation.agent.Agent;

public class OfferNewPriceOnAuctionCommand extends Command {

	private static final long serialVersionUID = -2263708392250343190L;

	private String auctionType;
	private Agent initiator;
	private double offeredPrice;
	private HashMap<String, Long> offeredTemplate;

	public OfferNewPriceOnAuctionCommand(String auctionType, Agent initiator,
			double offeredPrice, HashMap<String, Long> offeredTemplate) {
		this.auctionType = auctionType;
		this.initiator = initiator;
		this.offeredPrice = offeredPrice;
		this.offeredTemplate = offeredTemplate;
	}

	public String getAuctionType() {
		return this.auctionType;
	}

	public Agent getInitiator() {
		return initiator;
	}

	public double getOfferedPrice() {
		return this.offeredPrice;
	}

	public HashMap<String, Long> getOfferedTemplate() {
		return this.offeredTemplate;
	}
}
